package com.yh.correct.model;

import java.io.Serializable;

/**
 * t_system_permission 菜单管理表(权限表)
 * @author Administrator
 *
 */
public class SysPermission implements Serializable{
	/**
	 * 序列化
	 */
	private static final long serialVersionUID = 1L;
	/**
	 * 主键id
	 */
	private int id;
	/**
	 * 名称
	 */
	private String name;
	/**
	 * 类型
	 */
	private String type;
	/**
	 * url
	 */
	private String url;
	/**
	 * 代码
	 */
	private String code;
	/**
	 * 父id
	 */
	private int pid;
	/**
	 * 图标
	 */
	private String icon;
	/**
	 * 排序
	 */
	private int sort;
	/**
	 * 状态
	 */
	private int status;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public int getPid() {
		return pid;
	}
	public void setPid(int pid) {
		this.pid = pid;
	}
	public String getIcon() {
		return icon;
	}
	public void setIcon(String icon) {
		this.icon = icon;
	}
	public int getSort() {
		return sort;
	}
	public void setSort(int sort) {
		this.sort = sort;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	@Override
	public String toString() {
		return "SysPermission [id=" + id + ", name=" + name + ", type=" + type + ", url=" + url + ", code=" + code
				+ ", pid=" + pid + ", icon=" + icon + ", sort=" + sort + ", status=" + status + "]";
	}
	
}
